
def printa():
    print("Hello World")

printa()

def add(a, b):
    '''
    求和
    :param a: int
    :param b: int
    :return: int
    '''
    print(a+b)
    return a+b

add(1, 2)
a=input()
b=input()
a=int(a)
b=int(b)
add(a,b)

c=add(a,b)
print(c)

def compute(num):
    result=num(20,40)
    print(result)
compute(lambda a, c: a+c)
compute(lambda a, c: a*c)


def factorial(n):
    if n == 0:
        print(444)
        return 0
    print(n)
    return n * factorial(n-1)
print(factorial(5))

